Optimal. Leaf size=26 \[ \frac{C \sin (c+d x) \sec ^{m+1}(c+d x)}{d (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0395476, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.034, Rules used = {4043} \[ \frac{C \sin (c+d x) \sec ^{m+1}(c+d x)}{d (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4043
Rubi steps
\begin{align*} \int \sec ^m(c+d x) \left (-\frac{C m}{1+m}+C \sec ^2(c+d x)\right ) \, dx &=\frac{C \sec ^{1+m}(c+d x) \sin (c+d x)}{d (1+m)}\\ \end{align*}
Mathematica [A] time = 0.314314, size = 26, normalized size = 1. \[ \frac{C \sin (c+d x) \sec ^{m+1}(c+d x)}{d (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.385, size = 512, normalized size = 19.7 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.99644, size = 410, normalized size = 15.77 \begin{align*} -\frac{2^{m} C \cos \left (-{\left (d x + c\right )}{\left (m + 2\right )} + m \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right ) \sin \left (2 \, d x + 2 \, c\right ) - 2^{m} C \cos \left (-{\left (d x + c\right )} m + m \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right ) \sin \left (2 \, d x + 2 \, c\right ) +{\left (2^{m} C \cos \left (2 \, d x + 2 \, c\right ) + 2^{m} C\right )} \sin \left (-{\left (d x + c\right )}{\left (m + 2\right )} + m \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right ) -{\left (2^{m} C \cos \left (2 \, d x + 2 \, c\right ) + 2^{m} C\right )} \sin \left (-{\left (d x + c\right )} m + m \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right )}{{\left ({\left (m + 1\right )} \cos \left (2 \, d x + 2 \, c\right )^{2} +{\left (m + 1\right )} \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \,{\left (m + 1\right )} \cos \left (2 \, d x + 2 \, c\right ) + m + 1\right )}{\left (\cos \left (2 \, d x + 2 \, c\right )^{2} + \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )}^{\frac{1}{2} \, m} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.494877, size = 81, normalized size = 3.12 \begin{align*} \frac{C \frac{1}{\cos \left (d x + c\right )}^{m} \sin \left (d x + c\right )}{{\left (d m + d\right )} \cos \left (d x + c\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{C \left (\int - m \sec ^{m}{\left (c + d x \right )}\, dx + \int \sec ^{2}{\left (c + d x \right )} \sec ^{m}{\left (c + d x \right )}\, dx + \int m \sec ^{2}{\left (c + d x \right )} \sec ^{m}{\left (c + d x \right )}\, dx\right )}{m + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (C \sec \left (d x + c\right )^{2} - \frac{C m}{m + 1}\right )} \sec \left (d x + c\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]